My rpiTelecine Machine (based on jas8mm's design)


#2

More info, here is the exact error with the traceback:

/usr/lib/python2.7/dist-packages/picamera/encoders.py:544: PiCameraResolutionRounded: frame size rounded up from 3280x2464 to 3296x2464
width, height, fwidth, fheight)))
Traceback (most recent call last):
File “tc-setupjob.py”, line 253, in mouse_handler
pf.findFirstFromCoords(img,(x,y),20)
File “/home/pi/rpiTelecine/rpiTelecine/perforation.py”, line 230, in findFirstFromCoords
threshVal = int(vROI.max()*self.thresholdVal)
File “/usr/lib/python2.7/dist-packages/numpy/core/_methods.py”, line 17, in _amax
out=out, keepdims=keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity


#3

@kowboi69 have you contacted the original creator of the python code you’re using? I could go through the code but without having run the software myself it would be hard to guess where the problem is.

Have you done posted an Issue on a github repository before? I suggest starting there. But let us know if that doesn’t work and maybe we can put our heads together.

And sorry for the slow response!
M


#4

Hello Matthew!

Thank you for your response! No, I have not been able to find him, he seems to have dropped off the internet, I think the current github may be a clone from another user, and github gives you no good way to contact anyone. The good news is that I am now past this error, and frame detection is working. Turns out I had the film transport running backwards, the perfs were upside down, and hence on the wrong side of the detection area, also there is a threshold setting for perf detection that once I lowered, I was able to pick up perforations, so, progress! But now my issue is that he had some code written for transport calibration that I cannot seem to get to work. It seems to only want to calibrate in reverse and not forwards, so that is the current issue I am fighting with.


#6

I must have done something with the code while I was messing with it, I deleted all the scripts, recloned the git repository, (changed the detection threshold so it would work when I run the setup script) and now the film transport is running in the correct direction during calibration… it seems to want to advance through the whole film without finishing the calibration though.


#7

Thinking about this further, the way the output looks it looks like it’s still having perf detection issues when running the transport calibration routine… Since the perf detection is based on brightness, I wonder if my white film gate, which was meant to be temporary anyway, is causing the problems. Printing a black one out of black ABS now, I will replace it and see if that helps… stay tuned.


#8

The white film gate definitely was definitely causing issues with perf detection during the transport calibration, though the initial perf detection was working it was not picking up during the calibtation routine, so it was advancing all the way through the film before the calibration job finished, Finally running a capture job now and will report back with results!


#9

It’s woooorking! 1st successful test…


#10

@kowboi69 I’m intrigued by the tension arm design. Do you have files you can share? (matthewepler@gmail.com)


#11

I am working on something similar using my 3D printer. I am also curious about your tension arms and overall setup. Did you create the .stl files or did you find them on another site?


#12

Kowboi69,

I’m ready to begin this project and have pretty much everything sourced for the build, except for the LEDs and heat sinks - unless I missed it, I wasn’t able to determine what jas8mm used from his schematics.

Could you provide any information on part numbers, etc. for these components?

Thank you in advance!
DBB
dallas


#13

Are you building @jas8mm’s machine or a Kinograph?


#14

I found jas8mm’s project on github first and had started gathering parts/suppliers, but nothing purchased quite yet. Since kowboy69 said he had built the jas8mm version, I was curious as to the LEDs he used.

Both projects look pretty slick. My parents are elderly, so I’m anxious to get rolling so I can share our family memories with them.

Thanks for the reply!


#15

All, sorry I have not been around in awhile.

DBB, I sent you some info you requested and will be happy yo help if you have more questions, I’d like to pick my project back up again and improve it, but for the benefit of the others I ended up going with these:

I used white on both sides, I have not tried the turquoise yet that jas8mm recommended for one side but do wonder if it might help with his sprocket recognition.

Matt, I will find the files for the arms I used and upload them, there is always room for improvement but they work well enough.


#16

Thanks a ton for the replies, kowboi69! The forum has been down, so have not been able to reply until now.

I have the stepper and pinch roller files from github, but the ones I was was referring to were jas8mm’s set of idler rollers in his photos, up near the film spools. He didn’t seem to include those in his github collection. I’m not sure they’re even needed. The film path from your build looks just fine, with no unnecessary sharp bends to the film.

Saw some info on turquoise LEDs from a supplier website, and they basically reiterated what jas8mm had said about filling in the reds and oranges that are missing from the neutral white LEDs (and royal blue, according to the supplier.

As far as the lens, I’m going to keep looking. The price is right on the 7mm you suggested, but I’m going to have to learn how to use FreeCAD to mod the camera mount as you suggested, before sending off my files to get printed. Looks like the square aperture of the mount is 8mm, so I’m assuming you had to do quite a bit of rework to get your lens to fit. I have a v2 Raspberry Pi camera here, so I was planning on using that with all this.


#17

If anyone is building or wants to build this film scanner, I have a few extra PCB’s available. The PCB has an interface to the Raspberry Pi, two stepper controllers, two server controllers, two LED drivers, camera control and switches for enabling the light/motors. It can be used for any project where you need to interface to the mentioned hardware. I’m currently building a film scanner and have a few extra PCB’s that I’m willing to make available for $6 each. It was cheaper for me to have more than one produced. This is the PCB only but I’ll also include a list of materials/sources that I’m using to populate it. Please send a PM if interested.


#18

Phantstic offer! Just sent you a PM. :1st_place_medal:


#19

I would like one of your PCBs.
I just joined this forum and do not know how to send a PM.

Fred


#20

I would like one if you have one still available. I PM you.
Thanks


#21

Hi,
Anybody knows about this project?


His GitHug is incomplete. Looks like he solve jas8mm project’s problem. But I can’t find him anywhere. He has a youtube account. But his last video was posted one year ago.
https://www.youtube.com/channel/UCXZ0jndWsS4jWCi618ONapQ

He was inspired by jas8mm’s project. And also this guy projetc:


#22

Didn’t find how to send a PM but I’m interested. Can you ship it to Europe to or only US?