@MikeThibault this is awesome. Did the samples include a clear celluloid base at the sprockets? And is the conclusion that UV light passes through black celluloid at levels that could work with a light-sensitive sensor?
i have one film that have clear celluloid it´s a SMPTE 32 test film https://www.flickr.com/photos/94271811@N03/11013222224/in/dateposted-public/ and photo interrupter did not work so good it allmoust did work good maby if i do eaven smaller hole for the photo interrupter to look thru i have now a 0.8mm hole you can see here and some more photos of the sensor
here i have photo how i did connect the photo interrupter
and here i have all my telecine photos and other misc photos https://www.flickr.com/photos/94271811@N03
hmm i have try little with rotary encoder to find the sprocket holes on the film and it did work but not as good as photo interrupter
the rotary encoder i have is a Bourns EMS22D51-B28-LS5 i have some other brand to like this one ( https://www.youtube.com/watch?v=QE4IQlwOgiA ) but it did not work as good as Bourns EMS22D51-B28-LS5
i have order this rubber wheels to the rotary encoder maby i get it to work little better then https://www.jsumo.com/js2622-aluminum-silicone-wheel-pair
here is my main setup i use it looks like this i use a hall sensor and a magnet and i run the film 2 times thru the projector low and high exposure and merge them with avisynth
and here you can see some HDR captures i have done i run the film two times low and high exposure and join them with Avisynth
last post did have some same stuff as my first post sorry about that
i capture to Tiff Y800 raw format and i use this GPU Debayer (https://www.fastcompression.com/products/debayer/debayer.htm) it´s command line Debayer but it´s the best quality debayer i have found
here you can see some Debayer algorithms https://www.fastcompression.com/products/debayer/debayer-moire.htm
heh did find clear material Detection hmm maby something
Actually I mean that the film should glow, like fluorescent dye under a black light. Shouldn’t matter whether it’s black or clear, so I imagine for most of the time the UV LED would be on, while a glowing outline of the film (with black edges and sprocket holes) is seen by the sensor, then when the next frame reaches the exact position, the UV LED would switch off while a separate visible spectrum LED would flash for taking the actual frame image. Then repeat the process for each frame. Haven’t tested it myself though.
Starting to look into different ways for transport/sprocket detection and came across this patent. https://patents.google.com/patent/DE102009032943B4/en
In the prior art, there are a few interesting methods for detecting including light reflection or light through (as the patent).
Was wondering if something like a capacitive or RF sensor would work. I have to confess I do not have the RF expertise to make something that small (looking to do it for Super 8 film). In any case, for frame-by-frame scanners, I think a good stepper driver like the TMC2208 with microsteps would provide the accuracy to eliminate the light sensor on the patent, and move the film off the stepper. Thoughts?
That’s really cool! It is convincing me to give up on the pinhole I’m using with my optical detector for a condenser lens in front of the laser
From elsewhere in the forum I remember seeing some versions of sprocket detection that worked by completing a circuit through the open sprocket hole, but that could potentially be disrupted by errant tape or defects in the sprocket hole.
How were you imagining an RF sensor setup might work? I don’t know how much film may attenuate RF or if it could have the spatial resolution to measure a sprocket hole, but I may not be imagining it right.
Imagining is a good way to describe it John. A caveat, I am looking for a method for frame by frame detection, so capacitive or rf detectors may have another degree of complexity if one is looking for scanning at real time film speed. Having said that, I think is worth looking at this with fresh ideas, and once these are well understood in the slow and forgiving frame-by-frame can be improved for faster moving film.
What I was imagining was using the film as a dielectric, and sensing the passing of the sprocket hole as the absence of the dielectric. One way (but I have the feeling it will be a slow sensor) may be capacitive sensing. My guess is the problem would be (for Super 8) that the sprocket hole is very small, limiting the surface that would change when film is not absence, and increasing the difficulty of detection. One can use the physical capacitor created by two very small plates on either side of the film to slightly vary the frequency of an oscillator and detect the changes in frequency as variations in film density. For larger film like 35 mm, the dimensions may actually work, I am concerned that for super 8 sprockets the variations will be hard to detect.
The RF ‘idea’ came from what walabot technology is doing for RF sensing… but RF is not my strong area of electronics.
I would think another alternative with laser would be measuring the reflection on the surface of the film, and detect the hole when the reflection is missing.
This is a great find! Thanks so much for posting. I’m passing it along to the engineers at Brooklyn Research. It may help us figure out a good solution for frame detection.
Let me add a little bit to the discussion by the following collection of sprocket holes I encountered in my work with the Super-8 format:
The left-most sprocket shows something which you encounter very often with old Super-8 material: dust. In this case, if you look closely, the dust accumulated around a splice - Super-8 movies were often spliced together with adhesive pads. However, even if you clean film before scanning, you will encounter sprocket holes which have some sort of dust accumulated. Right to this is a damaged sprocket. The sprocket itself is still clearly defined, but already somewhat larger than the norm. Moving further to the right, the next sprocket (from the same stock) is even more damaged. Clearly, a registration using only the upper edge of the sprocket would work, but the lower edge is certainly torn out and not usable. Both examples feature also another challenge: the film material surrounding the sprockets is nearly as transparent as the sprockets themselves. That makes it harder for optical based methods to detect the sprockets. The next sprocket example shows also a challenge one encounters with Super-8 stock. Most material has some more or less transparent imprints between the sprockets - this also is able to fool certain sprocket detection mechanisms. The last sprocket example shows another challenge I encountered: the film gate of the camera used is extending into the sprocket area. In the example given, the edge of the sprocket is still clearly defined. But if this part of the film frame becomes very bright or even overexposed, the boundary of the sprocket might visually “disappear”.
Maybe it is possible to collect some further examples of sprockets, preferably also from other formats, in order to develop a general approach? From my experience, I think some suitably tuned image processing algorithm might outperform any other means.
This is excellent. Brooklyn Research was just asking me for more examples of bad sprockets. I’ll pass this along!
… here’s another, rather usual example I encounter with Super-8 film. This is how this might have happened, typically: during projection, something happens, so film is torn apart. One or two of the damaged frames are cut off and the rest of the film is spliced together again with adhesive pads.
Here’s the raw frame, if needed:
These are definitely examples I see in my own films - knowing that the film stock would be transparent in certain areas around the sprocket holes I decided to angle the laser & detector pair instead of keeping them normal to the film path. This allows me to tune the sensitivity of the detector to fall within the range of the amount of light transmitted when no film is present (sprocket hole) and when transparent film is present and some light is reflected away (clear or picture area around the sprocket hole).
Has anyone experimented with optical flow sensors (aka mouse sensors)?
I started thinking about sensing the reflection of the film with a laser diode for picking the sprocket, basically where there is no film (sprocket hole) the laser will not bounce from the film, and it would not count. But then it came a couple of examples of using essentially a mouse as a linear sensor. Wonder if instead of the mouse assembly (sensor + led) one would use the (sensor + laser) to pick up the reflection on the film surface. Food for thought. Here is an example https://www.youtube.com/watch?v=CIRKRzw54Zs
Or for that matter using the sensor to accurately measure position from one of the rollers (similar to the patent above).
Wow I never thought of that! The video was really helpful. In it he mentions the “high contrast” of the material under the mouse. I wonder if it would work with film and how close it would need to be. It’s worth a try! I’ll pass this on to Brooklyn Research to throw into the mix of solutions we’re exploring.
Thanks for sharing!
@PM490 here’s what the contractor had to say. I agree with him (although I think you could probably mount the sensor at the gate without contacting the film directly). I would put this mouse idea in the “someone should definitely try it at some point” bucket for now while we move ahead with what we have more confidence in.
This is an interesting DIY approach, and something I would be interested in pursuing for future projects. However, there are a couple potential issues with this approach.
1.) Optical mice are calibrated to be on/touching a surface. If we are to track the movement of the film, we would either need to modify an optics and mounting of the sensor in order to work on the film directly, or we would need to have a secondary encoder that the optical sensor system would be reading. These aren’t deal breakers in and of themselves, but a potential challenge.
2.) The speed of sensor may not be calibrated for the speed of the film. While you do get a good deal of accuracy, it could be that when you are running at the full film speed you get errors in distance compounded over time. I’m only guessing this based on the video, and variable readings HomoFaciens is getting when changing the motor speed.
@matthewepler makes sense to not change while you are making PCBs. I was genuinely curious if this had been tested, I am certainly intrigued by the possibilities.
Please note that I have approached the DIY scanner sacrificing speed for quality (frame-by-frame), so I should have mentioned that the approach may not be suitable for high frame rates. But when looking at your video about making multiple exposures for the same frame, it would make sense that the target frame rate for the scanner would be slower than real time.
At this time, I have a harvested gate of an old 8/Super 8 projector, so I am improving other areas. Ultimately (if I continue to put time on it) the next step would be to replace the gate, and that’s why I am looking at other ways to achieve accuracy and quality. Also because I am terrible with mechanics, and the tolerances of 8mm are hard to handle with bad mechanics. So if you have a cheap sub mm sensor, there is a lot of things that can be done in the programming side, hence my curiosity on these kind of sensor and this sensor type would really make sense for the patent approach (but probably not for real-time scanning). Thanks for looking into it and appreciate the consultant good feedback.
I know there was a thread around here a while ago about how transmissive certain film stocks are in IR, but now I’m wondering if there’s data floating around about absorptive or reflective they are in IR (from either the front or back).
The old Imagica scanners don’t have a problem with clear film and they use sprocket sensors. The model they use is Keyence FS-T20, which is long since discontinued. But Keyence is still around, so I’m sure there’s a replacement out there. What’s nice about these is that they’re fine-tunable. You get feedback in the form of an LED meter that works like an audio meter. As you adjust the sensitivity, the lights light up or turn off, depending on the change you’re making. This lets you dial in a setting for the film. We tested it with neg and print and it worked great, even with clear leader.
Attached is the datasheet for the FS-T20.
FS-T20_SG_en-GB.pdf (467.6 KB)
I contacted Keyence regarding the unit that would work best. As mentioned elsewhere in the forums, the recommended units are:
Here is the quote I received from Keyence for those units. Together, the cost is $370 (minus whatever discount they throw at you. In my case, 15% for “prototyping”).
That’s a steep price. If we can get the same data from a reflective sensor at a fraction of the cost (our current plan), then I’ll gladly take that over this.
Quotation_11827482.pdf (63.8 KB)